


        Vue.component('v-nav',{
            template:`<div class="nav white overAuto">
            <a :href="item.url" :class="curr == i?'active':''" v-for="(item,i) in nav">{{item.name}}</a><p class="hvc subTip"></p>
        </div>`,
            data:function(){
                return{
                    curr:0,
                    nav:[
                        {name:'企业财务报表',url:'index.html'},
                        {name:'企业财务运行分析',url:'cwyxfx.html'},
                        {name:'企业发债审批',url:'fzsp.html'},
                        {name:'企业资产减值备案',url:'zjzba.html'},
                        {name:'企业对外捐赠事项备案',url:'dyjzsxba.html'},
                        {name:'企业清产核资审批',url:'qyqchzsp.html'},
                        {name:'大额资金出借备案',url:'dezjcjba.html'},
                        {name:'对外担保备案',url:'dydbba.html'},
                        {name:'国资委账户明细',url:'gzwzhmx.html'},
                        {name:'资金流水明细表',url:'zjlsmx.html'},
                        {name:'融资情况明细表',url:'rzqkmx.html'},
                        {name:'国资委存款明细表',url:'gzwckmxb.html'},
                        {name:'存贷款情况统计分析表',url:'cdkqktj.html'},
                        {name:'对外担保情况统计表',url:'dydbtj.html'},
                        {name:'统计查询',url:'tjcx.html'},
                        {name:'报表设计',url:'bbsj.html'},
                        {name:'业务管理',url:'ywgl.html'},
                        {name:'报表填报',url:'bbtb.html'},
                        {name:'数据中心',url:'sjzx.html'},
                        {name:'财务报表导入',url:'cwbbdr.html'},
                        //{name:'发债申请审批',url:'fzsq.html'},
                        //{name:'',url:'.html'},
                    ],
                }
            },
            created:function(){
                var This = this;
                if(window.location.href.indexOf('.html') >= 0){
                    this.nav.forEach(function(item,i){
                        if(window.location.href.indexOf(item.url) >= 0){
                            This.curr = i;
                            return false;
                        }
                    })
                }
               
            },
            mounted(){
                $('title').text(this.nav[this.curr].name);
            }
        });